namespace Gsl
{
    using System;
    using System.Runtime.InteropServices;
    
    public delegate double Function(double x, object parameters);
    
    internal delegate double gsl_function(double x, IntPtr parameters);
    
    [StructLayout(LayoutKind.Sequential)]
    internal struct gsl_function_struct
    {
        public gsl_function Function;
        public IntPtr Params;
    }
}
    
